<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <link rel="stylesheet" href="/public/h5/huanlian/style.css">
    <title>Title</title>
</head>
<body>


    <div class="pic" style="background: url('http://nowechat.oss-cn-shenzhen.aliyuncs.com/h5/huanlian/1.jpg') top;background-size: cover;">

        <!--<img src="3.jpg">-->

    </div>
<a href="http://nochat.callmesoul.cn/app/h5/huanlian/select??wid=4" class="tobtn"><img style="width: 100%" src="http://nowechat.oss-cn-shenzhen.aliyuncs.com/h5/huanlian/%E9%A9%AC%E4%B8%8A%E6%8D%A2%E8%A3%85.png"></a>
</body>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    (function () {
        var designWidth = 640, rem2px = 100;
        document.documentElement.style.fontSize = ((window.innerWidth / designWidth) * rem2px) + 'px';

        var meta = document.getElementsByTagName('meta');
        var share_desc = '';
        for(i in meta){
            if(typeof meta[i].name!="undefined"&&meta[i].name.toLowerCase()=="description"){
                share_desc = meta[i].content;
            }
        }
        var apilist='<%= jssdk.jsApiList %>';
        apilist=apilist.split(',');
        wx.config({
            debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
            appId: '<%= jssdk.appId %>',
            timestamp: '<%= jssdk.timestamp %>',
            nonceStr: '<%= jssdk.nonceStr %>',
            signature: '<%= jssdk.signature %>',
            jsApiList: apilist
        });
        wx.ready(function(){
            // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口
            wx.onMenuShareTimeline({
                title: document.title, // 分享标题
                link:window.location.href,
                imgUrl:'http://nowechat.oss-cn-shenzhen.aliyuncs.com/wechat/shopred/img/hongbaoicon.jpg' // 分享图标
            });
            // 获取“分享给朋友”按钮点击状态及自定义分享内容接口
            wx.onMenuShareAppMessage({
                title: document.title, // 分享标题
                desc: share_desc, // 分享描述
                link:window.location.href,
                imgUrl: "http://nowechat.oss-cn-shenzhen.aliyuncs.com/wechat/shopred/img/hongbaoicon.jpg", // 分享图标
                type: 'link' // 分享类型,music、video或link，不填默认为link
            });

        });
    }());

</script>
</html>